-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debuginfo-install command #1566
Conversation
It is required for the debuginfo command and it uses the same logik like in DNF4
libdnf5/base/goal.cpp
Outdated
@@ -74,6 +75,46 @@ void add_obsoletes_to_data(const libdnf5::rpm::PackageQuery & base_query, libdnf | |||
data |= obsoletes_query; | |||
} | |||
|
|||
/// Add install jpb of debug packages for installed packages to Goal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a typo: jpb -> job
patterns_to_debuginfo_install_options = parser.add_new_values(); | ||
auto patterns_arg = parser.add_new_positional_arg( | ||
"patterns", | ||
ArgumentParser::PositionalArg::UNLIMITED, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer ArgumentParser::PositionalArg::AT_LEAST_ONE
. I think dnf5 debuginfo-install
without a spec does not make much sense.
It allows to use it from other interface then only from DNF5
It also describes dropping autoenable debug repositories for other commands.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
b58dd8e
Hey folks, we are getting close to Fedora 41 freeze. Could we get a new release of dnf5 with this code? Thanks |
@evan-goode Hi Evan, could you please trigger a new dnf5 release including the |
Not delivered in this PR:
Tests: Enable several tests for debuginfo-install command
Closes: #846